package com.baor.vip.mapper;


import com.baor.vip.domain.ScoreChangeDTO;
import com.baor.vip.domain.ScoreChangeVO;
import com.baor.vip.domain.ScoreVO;
import com.baor.vip.domain.VipInfoDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ScoreMapper  {
    public VipInfoDTO vipScore(@Param("vipUid") Integer vipUid);

    ScoreChangeVO totalScore();
    List<ScoreChangeDTO> scoreList(ScoreChangeDTO scoreChangeDTO);
    List<String> scoreOrginBox();

    int addScoreChange(ScoreChangeVO scoreChangeVO);

    int select(Integer vipUid);

    int updateVipScore(Map<String, Object> map);

    int addVipScore(Map<String, Object> map);
}
